<extend name="Public/base" />
<block name="body">
<div class="main-title">
   <h2>编辑类型</h2>
</div>
   <div class="tab-wrap with-padding">
        <div class="node-list">
            <div class="tab-pane in">
                <form action="{:U('editclass')}" method="post">
                    <div class="form-item cf" >
                        <label class="item-label">单位id<span class="check-tips"></span></label>

                        <div class="controls">
                            <select name="unit" data-role="select_text" class="form-control" style="width:25%">
                                <option value="0">请选择</option>
                                <volist name="typeList" id="vo">
                                <option value="{$vo.id}" <if condition="$data.type eq 1">selected</if> >{$vo.title}</option>                               
                                </volist>      
                            </select>         
                        </div>
                </div>
                <div class="form-item cf" >
                        <label class="item-label">班级名称<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="text" class="text input-large form-control form-input-width" name="title" value="{$ddd.title}"  maxlength="20">
                        </div>
                </div>
                  <div class="form-item cf">
                        <label class="item-label">备注<span class="check-tips"></span></label>

                        <div class="controls">
                            <textarea class="text input-large form-control form-input-width" row="3" name="remark" placeholder="请输入备注信息，最多100个字符" maxlength="100">{$ddd.remark}</textarea>
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">排序<span class="check-tips">（从小到大排序）</span></label>
                        
                        <div class="controls" id="structure">
                           <input type="text" class="text input-large form-control form-input-width" name="sort" value="{$ddd.sort}" placeholder="请输入排序号码"><br>
                        </div>
                    </div>
        <div class="form-item" style="margin-top:10px; ">
            <input type="hidden" name="id" value="{$ddd.id}" />
            <button type="submit" class="btn submit-btn " target-form="auth-form">{:L("_SURE_WITH_SPACE_")}</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
        </div>
    </form>

</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/qtip/jquery.qtip.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/qtip/jquery.qtip.min.css" media="all">
    <script type="text/javascript" charset="utf-8">
       
        //导航高亮
        highlight_subnav('{:U('classlist')}');
    </script>
</block>
